package com.yang.staff.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yang.staff.pojo.Department;
import com.yang.staff.pojo.Staff;

import java.util.List;
import java.util.Map;

public interface StaffService extends IService<Staff> {

    Map<String, Object> login(Staff staff);

    Staff decodingToken(String token);

    Map<String, Object> friendList(Staff staff);

    Boolean register(Staff staff);

    List<Department> departments();

    void sendMes(String s1);

    List<Map> wordsProhibit();
}
